package router

import (
	"api-server/handler/api"
	"github.com/gin-gonic/gin"
)

func UserRouter(r *gin.RouterGroup) {
	user := r.Group("/user")
	{
		user.POST("/register", api.Register)
		user.POST("/Login", api.Login)
		user.GET("/list", api.List)

	}
}
